package com.contory.ssn_lgnd.app.maingame;

import java.util.ArrayList;

import com.contory.ssn_lgnd.framework.math.PolygonResult;

public class PolygonResultBuffer {
	ArrayList<PolygonResult> resultList;
	
	public PolygonResultBuffer(){
		resultList = new ArrayList<PolygonResult>(10);
	}
	
	public void clear(){
		resultList.clear();
	}
	
	public void add(PolygonResult chdObj){
		resultList.add(chdObj);
	}
	
	public int getSize(){
		return resultList.size();
	}
	
	public PolygonResult getResult(int idx){
		return resultList.get(idx);
	}
}
